/**
 * 
 */
package com.fang.www.wg.util;

import java.util.HashSet;
import java.util.Set;

import org.apache.log4j.Logger;

/**
 * @author 王刚
 *
 */
public class DisCompetitionColection {
	Logger log = Logger.getLogger(DisCompetitionColection.class);
	private  Set<String> set;
	public DisCompetitionColection() {
		super();
		this.set = new HashSet<String>();
	}
	public boolean ifDispetion(String url){
		return set.contains(url);
	}
	public void addDisCompetitionColection(String url){
				set.add(url);
	}
	public void printCompetionColletion(){
		for(String url :set){
			log.info("集合有"+url);
		}
	}
	
}
